//
//  TextFiledCell.m
//  geiTA
//
//  Created by 杨元龙 on 14-11-19.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "TextFiledCell.h"

@implementation TextFiledCell
- (void)dealloc
{
    [_field release];
    [_nameLable release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self =[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        self.nameLable =[[UILabel alloc]initWithFrame:CGRectMake(10, 5, self.frame.size.width/4, self.frame.size.height-10)];
        [_nameLable setBackgroundColor:[UIColor yellowColor]];
        [self addSubview:_nameLable];
        
        self.field = [[UITextField alloc]initWithFrame:CGRectMake(_nameLable.frame.origin.x +_nameLable.frame.size.width +40, 5, self.frame.size.width/7 *5, self.frame.size.height-10)];
        [_field setBackgroundColor:[UIColor yellowColor]];
        
        [self addSubview:_field];
        
        
        
    }
    return self;
    
    
}

@end
